Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable multiple installations by not failing if all existing default resources exists #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

erikzaadi
Copy link
Member

Description

Align logic of default resource creation with ocean, AKA if all resources already exist, don't fail

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@erikzaadi erikzaadi force-pushed the PORT-11373-happy-path-in-multiple-installations branch from bea2a0c to 71fa39d Compare December 10, 2024 13:08
}

if err := integration.CreateIntegration(portClient, config.StateKey, config.EventListenerType, defaults.AppConfig); err != nil {
klog.Warningf("Failed to create integration with default configuration. state key %s: %v", config.StateKey, err.Error())
return &AbortDefaultCreationError{BlueprintsToRollback: createdBlueprints, PagesToRollback: createdPages, Errors: []error{err}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why we would want to ignore a failure in this case?

@erikzaadi erikzaadi force-pushed the PORT-11373-happy-path-in-multiple-installations branch from a0136aa to e452993 Compare December 22, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants